package com.sto.stoapp.entity;

import com.sto.stoapp.http.BaseMessage;

/**
 * 省份表实体类
 * 
 * @author mgf
 * 
 */
public class ProvinceEntity extends BaseEntity {
	// 序号
	private String serialNumber;
	// 省份信息
	private String provinceInfo;

	public ProvinceEntity() {

	}

	public ProvinceEntity(String responseDetail) {
		String[] data = responseDetail.split(BaseMessage.SPILTE
				+ BaseMessage.SEPARATOR);
		if (data.length > 0) {
			serialNumber = data[0].trim();
		}
		if (data.length > 1) {
			provinceInfo = data[1].trim();
		}
	}

	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public String getProvinceInfo() {
		return provinceInfo;
	}

	public void setProvinceInfo(String provinceInfo) {
		this.provinceInfo = provinceInfo;
	}

}
